package code.google.jcontainer.test.aware;

import code.google.jcontainer.resolver.MethodAnnotationResolver;
import code.google.jcontainer.resolver.MethodResolveContext;
import code.google.jcontainer.resolver.ResolverException;

/**
 * We'd like resolve @javax.ws.WebMethod annotation of JDK
 *
 * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
 * @create 2009-12-25 17:18:58
 */
public class WebMethodAnnotationResolver implements MethodAnnotationResolver{

    public void resolveMethodAnnotationAfterConstruct(MethodResolveContext methodResolveContext) throws ResolverException {
        System.out.println("AfterConstruct: " + methodResolveContext.getComponentClass().getSimpleName() + "." + methodResolveContext.getMethod().getName() + " is annotated by @WebMethod, publishing...");
    }

    public void resolveMethodAnnotationBeforeMethod(MethodResolveContext methodResolveContext) throws ResolverException {

    }

    public void resolveMethodAnnotationAfterMethod(MethodResolveContext methodResolveContext) throws ResolverException {
        
    }

}
